package org.airlink.persistence.criteria.expressions
{
	import flex.persistence.criteria.Expression;
	
	import org.airlink.persistence.criteria.PredicateImpl;

	public class Like extends PredicateImpl
	{
		private var x:String;
		private var expression:Expression;
		
		public function Like(x:String,expression:Expression)
		{
			this.x = x;
		}
		
		override public function toString():String{
			return expression.asValue() + " like(" + x + ")";
		}		
	}
}